{{template "header"}}
{{template "top" .}}


  <form class="form-horizontal col-xs-10" id="course-form" method="post" action="/article/save">
      <input type="hidden" name="id" value="{{.Article.id}}"/>
      <div class="form-group">
          <label for="inputEmail3" class="col-sm-4 control-label">标题:</label>
          <div class="col-sm-6">
              <input type="type" class="form-control" name="title" placeholder="请输入标题" value="{{.Article.title}}">
          </div>
      </div>
      <div class="form-group">
          <label for="inputEmail3" class="col-sm-4 control-label">摘要:</label>
          <div class="col-sm-4">
              <textarea class="form-control" rows="5" name="summary" placeholder="请输入摘要">{{.Article.summary}}</textarea>
          </div>
      </div>
      <div class="form-group">
          <label for="inputEmail3" class="col-sm-4 control-label">是否立即显示:</label>
          <div class="col-sm-4">
              <select name="is_show" class="form-control">
                  <option value='0'>否</option>
                  <option value='1'>是</option>
              </select>
          </div>
      </div>
      
      <div class="form-group">
          <label for="inputPassword3" class="col-sm-4 control-label">内容:</label>
          <div class="col-sm-8">
              <textarea class="form-control" rows="20" name="content" placeholder="请输入内容">{{.Article.content}}</textarea>
          </div>
      </div>
      <div class="form-group">
          <label for="inputEmail3" class="col-sm-4 control-label">来源:</label>
          <div class="col-sm-6">
              <input type="type" class="form-control"  name="source" placeholder="来源" value="{{.Article.source}}">
          </div>
      </div>
      <div class="form-group">
          <!-- <div class="col-sm-offset-2 col-sm-4">
                <button type="submit" class="btn btn-default">取消</button>
            </div>-->
          <div class="col-sm-offset-6 col-sm-4">
              <input type="submit" class="btn btn-primary" value="提交"/>
          </div>
      </div>
  </form>



{{template "foot"}}
